(global.webpackJsonp = global.webpackJsonp || []).push([ [ "xg_o2o/order/orderrush" ], {
    "5ced": function(t, e, n) {
        "use strict";
        n.r(e);
        var a = n("70d7"), o = n.n(a);
        for (var r in a) "default" !== r && function(t) {
            n.d(e, t, function() {
                return a[t];
            });
        }(r);
        e.default = o.a;
    },
    "70d7": function(t, e, n) {
        "use strict";
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var a = n("256d"), o = {
                data: function() {
                    return {
                        isLoading: !0,
                        showBack: !1,
                        attach: "",
                        bgColor: "",
                        textColor: "",
                        articleCate: [],
                        loadingType: 0,
                        logo: "",
                        page: 1
                    };
                },
                onLoad: function(t) {
                    var e = this, n = getCurrentPages();
                    this.showBack = n.length > 1;
                    var a = this.$xSign.sign("v4order_more");
                    this.$xRequest.request({
                        url: "entry/wxapp/v4order_more",
                        data: {
                            op: "getmenu",
                            xgsign: a
                        },
                        success: function(t) {
                            var n = JSON.parse(e.$Decrypt(t.data.data));
                            e.attach = n.attach, e.bgColor = n.bgColor, e.textColor = n.textColor, e.logo = n.logo ? n.logo : "../../static/empty/a2.jpg", 
                            e.isLoading = !1, e.loadData(1);
                        },
                        fail: function(t) {},
                        complete: function(t) {}
                    });
                },
                methods: {
                    toRush: function() {
                        t.navigateTo({
                            url: "../personnel/personnel_rush"
                        });
                    },
                    dateToStr: function(t) {
                        var e = 1e3 * parseInt(t), n = new Date(e), a = n.getFullYear(), o = n.getMonth() + 1, r = n.getDate(), i = n.getHours(), u = n.getMinutes();
                        return n.getSeconds(), a + "-" + (String(o).length > 1 ? o : "0" + o) + "-" + (String(r).length > 1 ? r : "0" + r) + " " + (String(i).length > 1 ? i : "0" + i) + ":" + (String(u).length > 1 ? u : "0" + u);
                    },
                    loadData: function(e) {
                        var n = this;
                        if (1 != this.loadingType && 2 != this.loadingType) {
                            1 == e ? this.isLoading = !0 : t.showLoading({
                                title: "加载中",
                                mask: !0
                            }), this.loadingType = 1;
                            var o = this.$xSign.sign("v4order_more");
                            this.$xRequest.request({
                                url: "entry/wxapp/v4order_more",
                                data: {
                                    op: "getallorder",
                                    xgsign: o,
                                    page: this.page
                                },
                                success: function(e) {
                                    var o = JSON.parse(n.$Decrypt(e.data.data));
                                    if (n.articleCate = a.arrayConcat(n.articleCate, o.itemlist), n.articleCate.length >= o.total) return n.loadingType = 2, 
                                    n.isLoading = !1, void t.hideLoading();
                                    n.page++, n.loadingType = 0, n.isLoading = !1, t.hideLoading();
                                },
                                fail: function(t) {},
                                complete: function(t) {}
                            });
                        }
                    }
                },
                computed: {
                    style: function() {
                        var t = this.$systemInfo.info(), e = t.windowHeight - t.iPhoneXBottomHeightPx - t.statusBarHeight - 44;
                        return "height:".concat(e, "px;");
                    }
                }
            };
            e.default = o;
        }).call(this, n("543d").default);
    },
    "86a3": function(t, e, n) {
        "use strict";
        n.r(e);
        var a = n("9813"), o = n("5ced");
        for (var r in o) "default" !== r && function(t) {
            n.d(e, t, function() {
                return o[t];
            });
        }(r);
        var i = n("f0c5"), u = Object(i.a)(o.default, a.b, a.c, !1, null, null, null, !1, a.a, void 0);
        e.default = u.exports;
    },
    9813: function(t, e, n) {
        "use strict";
        n.d(e, "b", function() {
            return o;
        }), n.d(e, "c", function() {
            return r;
        }), n.d(e, "a", function() {
            return a;
        });
        var a = {
            gracePage: function() {
                return n.e("graceUI/components/gracePage").then(n.bind(null, "1915"));
            },
            graceFullLoading: function() {
                return n.e("graceUI/components/graceFullLoading").then(n.bind(null, "7669"));
            },
            divider: function() {
                return n.e("components/divider/divider").then(n.bind(null, "bdb7"));
            },
            graceEmptyNew: function() {
                return n.e("graceUI/components/graceEmptyNew").then(n.bind(null, "fb2f"));
            },
            graceLoading: function() {
                return n.e("graceUI/components/graceLoading").then(n.bind(null, "93a5"));
            }
        }, o = function() {
            var t = this, e = (t.$createElement, t._self._c, t.articleCate.length > 0 ? t.__map(t.articleCate, function(e, n) {
                return {
                    $orig: t.__get_orig(e),
                    m0: e.createtime ? t.dateToStr(e.createtime) : null
                };
            }) : null);
            t.$mp.data = Object.assign({}, {
                $root: {
                    l0: e
                }
            });
        }, r = [];
    },
    d8f7: function(t, e, n) {
        "use strict";
        (function(t) {
            function e(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            n("4e1e"), e(n("66fd")), t(e(n("86a3")).default);
        }).call(this, n("543d").createPage);
    }
}, [ [ "d8f7", "common/runtime", "common/vendor" ] ] ]);